package po;

import java.io.Serializable;
import java.util.Date;

@SuppressWarnings("serial")
public class TeacherPO implements Serializable {

	/**
	 * @param args
	 */
	String teacherID;
	String name;
	String collegeID;
	int workStartYear;
	Date birthday;
	
	public TeacherPO(String tID,String n,String collegeId,int year,Date birthday){
		teacherID = tID;
		name = n;
		collegeID = collegeId;
		workStartYear = year;
		this.birthday = birthday;
	}
	public String getTeacherID(){
		return teacherID;
	}
	public String getName(){
		return name;
	}
	public String getCollegeID(){
		return collegeID;
	}
	public int getWorkStartYear(){
		return workStartYear;
	}
	public Date getBirthday(){
		return birthday;
	}
	@Override
	public String toString() {
		return "TeacherPO:\r\nteacherID=" + teacherID + "\r\nname=" + name
				+ "\r\ncollegeID=" + collegeID + "\r\nworkStartYear="
				+ workStartYear + "\r\nbirthday=" + birthday;
	}

}
